package collection.set;

import java.util.HashSet;
import java.util.Random;
import java.util.Set;

public class SetOfInteger {
    public static void main(String[] args) {
        Random random = new Random(30);
        Set<Integer> intset = new HashSet<Integer>();
        for (int i = 0; i < 1000; i++) {
            intset.add(random.nextInt(30));
        }
        System.out.println(intset);
    }

//    public void setAP
}
